Create getApplications Trigger
This trigger returns the list of applications. This trigger is for internal purposes only. This trigger is used in another trigger or action utilizing the application’s meta data API.
-
Enter the required details as displayed in the below screenshot in the Settings tab of the Trigger form and click Save and Continue.
- Now, navigate to API Configuration tab.
In the Configure your API Request section:
- Select Trigger Type as Polling
- Switch to Code Mode and enter the below code in API Endpoint section. Then, click Save API Request & Continue.
Copyconst options = {
url: bundle.authData.url+'meta/applications',
method: 'GET',
headers: {
'Accept': 'application/json',
'JWT': bundle.authData.JWT
},
params: {
}
}
return z.request(options)
.then((response) => {
response.throwForStatus();
const results = z.JSON.parse(response.content);
return results.results;
});- In the Test your API Request section:
You are prompted to Sign in to Infinite Blue Platform account to test your Authentication. If you are already signed, select the existing account.
- When done, click Test Your Request. On successful request, click Finish Testing & Continue.

- In the Define your Output section:
Enter JSON-formatted sample output data or Use Response from Test Data and click Generate Output Field Definitions. When done, click Save Output & Finish.

You have now successfully created the getApplications Trigger.